package com.atzly.community.datasource.config;


import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;

import javax.validation.constraints.NotBlank;

/**
 * @author zlysimida
 * @date 2022/11/27 - 12:41
 */
@ConfigurationProperties(prefix="hjy.common")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MyProps {

    @NotBlank
    private String sentryDsn;

    @NotBlank
    // DeployEnvVar is set by Kubernetes during a new deployment so we can identify the code version
    private String deployEnv;
}

